<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>所有的用户</h1>
    <table width="500" border="1">
        <tr>
            <td>用户名</td>
            <td>密码</td>
            <td>注册时间</td>
            <td>头像</td>
        </tr>
        <% for(let i=0;i< persons.length ;i++){ %>
            <tr>
                <td><%= persons[i].username  %></td>
                <td><%= persons[i].password  %></td>
                <td><%= persons[i].time  %></td>
                <td><img width="100" height="100" src=<%=persons[i].avatar %> alt=""></td>
            </tr>
        <% } %>
        
    </table>
</body>
</html>